package com.kehutong.admin.enums;

import org.coraframework.util.HashID;

/**
 * 账户类型
 * @author liuzhen (liuxing521a@163.com)
 * @createTime 2020年7月9日上午10:44:25
 */
public enum MenuType implements HashID {

    MENU("0", "菜单"),
    PAGE("1", "页面"),
    BUTTON("2", "按钮");

    private final String id;
    private final String desc;

    private MenuType(String id, String desc) {
        this.id = id;
        this.desc = desc;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
